package string;

public class StringStringBuilderDemo {
    public static void main(String[] args) {
//        StringBuilder strb=new StringBuilder();
//        for (int i = 0; i < 100; i++) {
//            strb=strb.append(i);
//        }
//        System.out.println(strb);
        String s="a";

        StringBuilder sb=new StringBuilder(s);
        for (int i = 0; i < 10000000; i++) {
            sb.append(i);
        }
        System.out.println("Finished!");
    }
}
